package com.cqupt.medical.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.val;

import java.io.Serializable;
import java.util.HashMap;

/**
 * <p>@author Jay</p>
 * <p>@date 2020/7/26 14:21</p>
 * <p>@Description:</p>
 */

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
@ApiModel
public class User implements Serializable {

    @TableId
    @ApiModelProperty("用户id")
    private Integer id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("盐值")
    private String salt;

    @ApiModelProperty("电话")
    private Integer phone;


    public void example(){


    }
}
